package com.qk.service;

import com.qk.entity.Course;

import java.util.List;

public interface CourseService {
    Object list(String name, Integer subject, Integer target, Integer page, Integer pageSize);

    void deleteById(Integer id);

    void add(Course course);

    Course getById(Integer id);

    void update(Course course);

    List<Course> listBySubject(Integer subject);


    List<Course> listAll();

}
